﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Windows;
using System.Windows.Threading;
using DiPlaner.Profile;

namespace DiPlaner
{

    public partial class MainForm
    {
        #region VARIABLES

        #region _private

        SynchronizationContext main_context;
        DispatcherTimer formTimer;

        int idleCount, CheckCounter;
        bool firstStart = true;

        #endregion

        #region _public

        //public static readonly WorkerClass Worker = new WorkerClass();
        public static List<ListTemplate> BotLines = new List<ListTemplate>();

        public static volatile bool CheckAllow = true;
        public static bool Hooked;

        public static Stopwatch sysWatch = new Stopwatch();

        public static string _lastdb_path;
        public static string _lastd3_path;

        #endregion

        #endregion


        public MainForm()
        {
            InitializeComponent();

            main_context = new SynchronizationContext();
            formTimer = new DispatcherTimer();
            formTimer.Interval = TimeSpan.FromMilliseconds(100);

        }

        private void btn_FormClose_Click(object sender, RoutedEventArgs e) 
        {
            Close();
        }

        private void btn_FormMinimize_Click(object sender, RoutedEventArgs e) 
        {

        }
    }
}
